Optimal. Leaf size=123 \[ -\frac{3 b^3 \text{PolyLog}\left (2,1-\frac{2}{1-c x}\right )}{2 c^2}-\frac{3 b^2 \log \left (\frac{2}{1-c x}\right ) \left (a+b \tanh ^{-1}(c x)\right )}{c^2}+\frac{3 b \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c^2}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{2 c^2}+\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.250315, antiderivative size = 123, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.667, Rules used = {5916, 5980, 5910, 5984, 5918, 2402, 2315, 5948} \[ -\frac{3 b^3 \text{PolyLog}\left (2,1-\frac{2}{1-c x}\right )}{2 c^2}-\frac{3 b^2 \log \left (\frac{2}{1-c x}\right ) \left (a+b \tanh ^{-1}(c x)\right )}{c^2}+\frac{3 b \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c^2}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{2 c^2}+\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5916
Rule 5980
Rule 5910
Rule 5984
Rule 5918
Rule 2402
Rule 2315
Rule 5948
Rubi steps
\begin{align*} \int x \left (a+b \tanh ^{-1}(c x)\right )^3 \, dx &=\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{1}{2} (3 b c) \int \frac{x^2 \left (a+b \tanh ^{-1}(c x)\right )^2}{1-c^2 x^2} \, dx\\ &=\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3+\frac{(3 b) \int \left (a+b \tanh ^{-1}(c x)\right )^2 \, dx}{2 c}-\frac{(3 b) \int \frac{\left (a+b \tanh ^{-1}(c x)\right )^2}{1-c^2 x^2} \, dx}{2 c}\\ &=\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{2 c^2}+\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3-\left (3 b^2\right ) \int \frac{x \left (a+b \tanh ^{-1}(c x)\right )}{1-c^2 x^2} \, dx\\ &=\frac{3 b \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c^2}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{2 c^2}+\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{\left (3 b^2\right ) \int \frac{a+b \tanh ^{-1}(c x)}{1-c x} \, dx}{c}\\ &=\frac{3 b \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c^2}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{2 c^2}+\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{3 b^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )}{c^2}+\frac{\left (3 b^3\right ) \int \frac{\log \left (\frac{2}{1-c x}\right )}{1-c^2 x^2} \, dx}{c}\\ &=\frac{3 b \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c^2}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{2 c^2}+\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{3 b^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )}{c^2}-\frac{\left (3 b^3\right ) \operatorname{Subst}\left (\int \frac{\log (2 x)}{1-2 x} \, dx,x,\frac{1}{1-c x}\right )}{c^2}\\ &=\frac{3 b \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c^2}+\frac{3 b x \left (a+b \tanh ^{-1}(c x)\right )^2}{2 c}-\frac{\left (a+b \tanh ^{-1}(c x)\right )^3}{2 c^2}+\frac{1}{2} x^2 \left (a+b \tanh ^{-1}(c x)\right )^3-\frac{3 b^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac{2}{1-c x}\right )}{c^2}-\frac{3 b^3 \text{Li}_2\left (1-\frac{2}{1-c x}\right )}{2 c^2}\\ \end{align*}
Mathematica [A] time = 0.28394, size = 161, normalized size = 1.31 \[ \frac{6 b^3 \text{PolyLog}\left (2,-e^{-2 \tanh ^{-1}(c x)}\right )+a \left (2 a^2 c^2 x^2+6 a b c x+3 a b \log (1-c x)-3 a b \log (c x+1)+6 b^2 \log \left (1-c^2 x^2\right )\right )+6 b^2 (c x-1) \tanh ^{-1}(c x)^2 (a c x+a+b)+6 b \tanh ^{-1}(c x) \left (a c x (a c x+2 b)-2 b^2 \log \left (e^{-2 \tanh ^{-1}(c x)}+1\right )\right )+2 b^3 \left (c^2 x^2-1\right ) \tanh ^{-1}(c x)^3}{4 c^2} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.342, size = 6097, normalized size = 49.6 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (b^{3} x \operatorname{artanh}\left (c x\right )^{3} + 3 \, a b^{2} x \operatorname{artanh}\left (c x\right )^{2} + 3 \, a^{2} b x \operatorname{artanh}\left (c x\right ) + a^{3} x, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \left (a + b \operatorname{atanh}{\left (c x \right )}\right )^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \operatorname{artanh}\left (c x\right ) + a\right )}^{3} x\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]